import Vue from 'vue'
import App from './App.vue'
import VueRouter from 'vue-router'
import IndexPage from './pages/index'

Vue.config.productionTip = false
Vue.use(VueRouter)

let router = new VueRouter({
  mode: 'history',
  routes: [
    {
      path: '/',
      component: IndexPage
    }
  ]
})

new Vue({
  render: h => h(App),
  router,
}).$mount('#app')
